how to find ratio of perimeter and area